package com.exception;

public class Demo01 {
    public static void main(String[] args) {
//        A();//StackOverflowError
        int[] array= {2,3,4,5,6,1,23,4};
        System.out.println(array[0]);
    }
    public static void A(){
        B();
    }
    public static void B(){
        A();
    }
}
